/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jsysacc.asistencia.model.dao.ds;

import java.sql.Connection;

/**
 *
 * @author Carlos
 */
public class Cnx {

    public static Connection getConnection() {
        Connection cn = null;

        try {
            cn = PoolConexiones.getInstancia().getSource();
        } catch (Exception e) {
            
        }

        return cn;
    }

    public Cnx() {
    }

    public static String getSchema() {
        return PoolConexiones.getInstancia().getSchema();
    }
}
